/*
 * This class is value object of ticket. Each ticket has a sequence number and a type which can be common, express and vip.
 * Copy right with Charles. You are free to use and modify the code. Please contact author - charles@webcheng.net for commercial use.
 * */


package net.webcheng;

public class Ticket {
	private int sequenceNo;
	private TicketType ticketType;
	
	public void setSequenceNo(int no){
		this.sequenceNo = no;
	}
	public int getSequenceNo(){
		return this.sequenceNo;
	}
	
	public void setTicketType(TicketType t){
		this.ticketType = t;
	}
	public TicketType getTicketType(){
		return this.ticketType;
	}
}
